#login-panel {
    visibility: hidden;
}

#login-panel.fadeIn {
    visibility: visible;
    animation: fadein 1s;
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}